<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport"
          content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"/>
    <meta http-equiv="Cache-Control" content="no-siteapp"/>
    <!--[if lt IE 9]>
    <script type="text/javascript" src="lib/html5shiv.js"></script>
    <script type="text/javascript" src="lib/respond.min.js"></script>
    <![endif]-->
    <link href="<?= STATICURL; ?>h-ui/css/H-ui.min.css" rel="stylesheet" type="text/css"/>
    <link href="<?= STATICURL; ?>h-ui.admin/css/H-ui.login.css" rel="stylesheet" type="text/css"/>
    <link href="<?= STATICURL; ?>h-ui.admin/css/style.css" rel="stylesheet" type="text/css"/>
    <link href="<?= STATICURL; ?>lib/Hui-iconfont/1.0.8/iconfont.css" rel="stylesheet" type="text/css"/>
    <!--[if IE 6]>
    <script type="text/javascript" src="<?= STATICURL; ?>lib/DD_belatedPNG_0.0.8a-min.js"></script>
    <script>DD_belatedPNG.fix('*');</script>
    <![endif]-->
    <title>后台登录 - 蓝调</title>
</head>
<body>
<input type="hidden" id="TenantId" name="TenantId" value=""/>



<div class="container-fluid banner banbk" style="height: 100%;width: 100%;padding-right:0;padding-left:0;">
    <div class="banseo2">
    </div>
    <div class="banseo">

    </div>
    <div class="bjtx" data-toggle="tooltip" data-placement="left" title="" data-original-title="如果您的电脑配置较低，请关闭背景特效">关闭背景特效</div>
    <iframe class="baniframe" sandbox="allow-scripts allow-same-origin" id="mh" src="http://www.jq22.com/js/a3.html"></iframe>

</div>
<style>
    .baniframe {
        width: 100%;
        height: 100%;
        border-width: 0px;
    }
    .bjtx {
        position: absolute;
        right: 10px;
        bottom: 10px;
        background-color: rgba(255,255,255,0.13);
        padding: 3px;
        font-size: 12px;
        color: #656565;
        border-radius: 5px;
        cursor: pointer;
    }
    .container-fluid{
     height: 100%;
        width: 100%;
        padding-right:0;
        padding-left;0;
    }
</style>

<div class="1loginWraper">
    <div id="loginform" class="loginBox">
        <form class="form form-horizontal" action="index.html" method="post">
            <div class="row cl">
                <label class="form-label col-xs-3"><i class="Hui-iconfont">&#xe60d;</i></label>

                <div class="formControls col-xs-8">
                    <input id="username" name="" type="text" placeholder="账户" class="input-text size-L">
                </div>
            </div>
            <div class="row cl">
                <label class="form-label col-xs-3"><i class="Hui-iconfont">&#xe60e;</i></label>

                <div class="formControls col-xs-8">
                    <input id="password" name="" type="password" placeholder="密码" class="input-text size-L">
                </div>
            </div>
            <div class="row cl">
                <div class="formControls col-xs-8 col-xs-offset-3">
                    <input name="" id="J_login" class="btn btn-success radius size-L"
                           value="&nbsp;登&nbsp;&nbsp;&nbsp;&nbsp;录&nbsp;">
                    <input name="" type="reset" class="btn btn-default radius size-L"
                           value="&nbsp;取&nbsp;&nbsp;&nbsp;&nbsp;消&nbsp;">
                </div>
            </div>
        </form>
    </div>
</div>
<script type="text/javascript" src="<?= STATICURL; ?>lib/jquery/1.9.1/jquery.min.js"></script>
<script type="text/javascript" src="<?= STATICURL; ?>/h-ui/js/H-ui.min.js"></script>
</body>
<script>
    $("#J_login").click(function () {
        var username = $("#username").val();
        var password = $("#password").val();
        if (username == '' || username == "请输入用户名/邮箱") {
            alert("用户名/邮箱不能为空");
            $("#username").focus();
            return false;
        }
        if (password == '' || password == "●●●●●●") {
            alert("密码不能为空");
            $("#password").focus();
            return false;
        }
        $.post("/login/login_manager", {"username": username, "password": password}, function (data) {
            if (data.code == 0) {
                window.location.href = "<?=BASEURL?>/" + data.page;
            } else {
                alert(data.message);
                window.location.reload();
            }
        }, "json");
    });
</script>
</html>

